package com.dly.hope.model.ro;

import com.dly.hope.constant.LoginType;
import com.dly.hope.model.type.PromiseType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class PromiseRo {

    @ApiModelProperty(name = "loginType",required = true)
    @NotNull(message = "登入类型不能为空/或者类型错误")  //枚举类型不能用@NotBlank
    private PromiseType promiseType;

}
